﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using System;
using System.ComponentModel.DataAnnotations;

namespace Choucius.Boilerplate9.ProductionLines.Dto
{
    [AutoMapTo(typeof(ProductionLine))]
    public class CreateUpdateProductionLineDto : FullAuditedEntityDto<Guid>
    {
        [Required]
        [StringLength(64)]
        public string LineCode { get; set; } = string.Empty;

        [Required]
        [StringLength(128)]
        public string LineName { get; set; } = string.Empty;
    }
}
